#include "stdafx.h"
#include "sceneobject.h"

SceneObject::SceneObject()
{
}

SceneObject::SceneObject(const vec2f &position) :
    _position(position)
{
}

SceneObject::~SceneObject()
{
}

float SceneObject::x() const
{
    return _position.x;
}

float SceneObject::y() const
{
    return _position.y;
}

float SceneObject::radius() const
{
    return _radius;
}

void SceneObject::move(float x, float y)
{
    _position.x += x;
    _position.y += y;
}

void SceneObject::setRadius(float value)
{
    _radius = value;
}
